package dryven.unittest.mocks;

import javax.persistence.EntityManager;

import dryven.config.DatabaseConfiguration;
import dryven.persistence.provider.PersistenceProvider;

public class MockPersistenceProvider implements PersistenceProvider {

	@Override
	public EntityManager createEntityManager(DatabaseConfiguration config) {
		return new MockEntityManager();
	}

	@Override
	public void cleanup(DatabaseConfiguration config) {}

}
